home *** CD-ROM | disk | FTP | other *** search
- # This is the main server configuration file. See URL http://www.apache.org/
- # for instructions.
-
- # Do NOT simply read the instructions in here without understanding
- # what they do, if you are unsure consult the online docs. You have been
- # warned.
-
- # Note: Where filenames are specified, you must use forward slashes
- # instead of backslashes. e.g. "c:/apache" instead of "c:\apache". If
- # the drive letter is ommited, the drive where Apache.exe is located
- # will be assumed
-
- # Originally by Rob McCool
-
- # ServerType must be standalone.
-
- ServerType standalone
-
- # Port: The port the standalone listens to.
-
- Port 80
-
- # HostnameLookups: Log the names of clients or just their IP numbers
- # e.g. www.apache.org (on) or 204.62.129.132 (off)
- # The default is off because it'd be overall better for the net if people
- # had to knowingly turn this feature on.
- HostnameLookups off
-
- # If you wish httpd to run as a different user or group, you must run
- # httpd as root initially and it will switch.
-
- # User/Group: The name (or #number) of the user/group to run httpd as.
- #User #1
- #Group #1
-
- # ServerAdmin: Your address, where problems with the server should be
- # e-mailed.
-
- ServerAdmin support@kansmen.com
-
- # ServerRoot: The directory the server's config, error, and log files
- # are kept in
-
- ServerRoot "E:/Apache"
-
- # BindAddress: You can support virtual hosts with this option. This option
- # is used to tell the server which IP address to listen to. It can either
- # contain "*", an IP address, or a fully qualified Internet domain name.
- # See also the VirtualHost directive.
-
- #BindAddress *
-
- # ErrorLog: The location of the error log file. If this does not start
- # with /, ServerRoot is prepended to it.
-
- ErrorLog logs/error.log
-
- # TransferLog: The location of the transfer log file. If this does not
- # start with /, ServerRoot is prepended to it.
-
- TransferLog logs/access.log
-
- # PidFile: The file the server should log its pid to
- PidFile logs/httpd.pid
-
- # ScoreBoardFile: File used to store internal server process information.
- # Not all architectures require this. But if yours does (you'll know because
- # this file is created when you run Apache) then you *must* ensure that
- # no two invocations of Apache share the same scoreboard file.
- ScoreBoardFile logs/apache_status
-
- # ServerName allows you to set a host name which is sent back to clients for
- # your server if it's different than the one the program would get (i.e. use
- # "www" instead of the host's real name).
- #
- # Note: You cannot just invent host names and hope they work. The name you
- # define here must be a valid DNS name for your host. If you don't understand
- # this, ask your network administrator.
-
- ServerName LittleBrother3
-
- # UseCanonicalName: (new for 1.3) With this setting turned on, whenever
- # Apache needs to construct a self-referencing URL (a url that refers back
- # to the server the response is coming from) it will use ServerName and
- # Port to form a "canonical" name. With this setting off, Apache will
- # use the hostname:port that the client supplied, when possible. This
- # also affects SERVER_NAME and SERVER_PORT in CGIs.
- UseCanonicalName on
-
- # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
- # document that was negotiated on the basis of content. This asks proxy
- # servers not to cache the document. Uncommenting the following line disables
- # this behavior, and proxies will be allowed to cache the documents.
-
- CacheNegotiatedDocs
-
- # Timeout: The number of seconds before receives and sends time out
-
- Timeout 300
-
- # KeepAlive: Whether or not to allow persistent connections (more than
- # one request per connection). Set to "Off" to deactivate.
-
- KeepAlive On
-
- # MaxKeepAliveRequests: The maximum number of requests to allow
- # during a persistent connection. Set to 0 to allow an unlimited amount.
- # We reccomend you leave this number high, for maximum performance.
-
- MaxKeepAliveRequests 100
-
- # KeepAliveTimeout: Number of seconds to wait for the next request
-
- KeepAliveTimeout 15
-
- # Server-pool size regulation. Apache excutes as multiple servers (this
- # allows for some fault tolerance - if a server dies, another one takes
- # its place), each of which are multithreaded and can serve multiple
- # requests.
-
- # Start up 3 servers (in case one dies, another can take its place, while
- # a new one is spawned
- StartServers 3
-
- # Don't force a server to exit after it has served some number of requests.
- # If you do want server's to exit after they have run for a long time (to
- # help the system clean up after the process), please set this to a pretty
- # large number - like 10,000. What this will do, is, each child server will
- # exit after serving 10,000 requests, and another server will take its place.
- MaxRequestsPerChild 0
-
- # Number of concurrent threads at a time (set the value to more or less
- # depending on the responsiveness you want and the resources you wish
- # this server to consume).
-
- ThreadsPerChild 50
-
-
- # Proxy Server directives. Uncomment the following line to
- # enable the proxy server:
-
- #ProxyRequests On
-
- # To enable the cache as well, edit and uncomment the following lines:
-
- #CacheRoot /apache/proxy
- #CacheSize 5
- #CacheGcInterval 4
- #CacheMaxExpire 24
- #CacheLastModifiedFactor 0.1
- #CacheDefaultExpire 1
- #NoCache a_domain.com another_domain.edu joes.garage_sale.com
-
- # Listen: Allows you to bind Apache to specific IP addresses and/or
- # ports, in addition to the default. See also the VirtualHost command
-
- #Listen 3000
- #Listen 12.34.56.78:80
-
- # VirtualHost: Allows the daemon to respond to requests for more than one
- # server address, if your server machine is configured to accept IP packets
- # for multiple addresses. This can be accomplished with the ifconfig
- # alias flag, or through kernel patches like VIF.
-
- # Any httpd.conf or srm.conf directive may go into a VirtualHost command.
- # See also the BindAddress entry.
-
- #<VirtualHost host.some_domain.com>
- #ServerAdmin webmaster@host.some_domain.com
- #DocumentRoot /www/docs/host.some_domain.com
- #ServerName host.some_domain.com
- #ErrorLog logs/host.some_domain.com-error_log
- #TransferLog logs/host.some_domain.com-access_log
- #</VirtualHost>
-
-
-